//
//  BaseModel.m
//  片刻
//
//  Created by 黄俊杰 on 15/12/21.
//  Copyright © 2015年 黄俊杰. All rights reserved.
//

#import "BaseModel.h"


@implementation BaseModel


- (instancetype)initWithDictionary:(NSMutableDictionary *)dic{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic];
    }
    return self;
}

+ (instancetype)initWithDictionary:(NSMutableDictionary *)dic{
    return [[self alloc] initWithDictionary:dic];
}



-(void)setValue:(id)value forUndefinedKey:(NSString *)key{


}

@end
